// File:    TnThua.cs
// Author:  HT
// Created: Monday, October 17, 2011 10:44:44 AM
// Purpose: Definition of Class TnThua

using System;
using System.Collections.Generic;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Geometry;

namespace Tayninh2011
{
    public abstract class TnThua : TnGeoObject
    {
        protected Dictionary<string, double> dblGiadatTong = new Dictionary<string, double>();
        protected Dictionary<string, double> dblGiadat1 = new Dictionary<string, double>();
        protected Dictionary<string, double> dblGiadat2 = new Dictionary<string, double>();
        protected string strKDat = "";
        protected string strDescription = "";
        protected Dictionary<string, double> dblDientichTong = new Dictionary<string, double>();
        protected Dictionary<string, double> dblDientich1 = new Dictionary<string, double>();
        protected Dictionary<string, double> dblDientich2 = new Dictionary<string, double>();
        protected int intSoluongThua = 0;
        protected string strVitri;
        protected Dictionary<string, int> intSoCachtinh = new Dictionary<string, int>();
        protected Dictionary<string, string> strCachtinh = new Dictionary<string, string>();
        protected IArea area = null;
        protected string name;

        public IArea Area
        {
            get { return area; }
            set { area = value; }
        }
        //protected IFeatureClass featureClass;
        //protected IFeatureLayer featureLayer;
        //protected IFeatureSelection featureSelection;
        //protected IQueryFilter queryFilter;
        //protected IFeature feature;
        //protected IFeatureCursor featureCursor;
        //protected ICursor cursor;
        //protected IRow row;
        //protected IWorkspaceEdit workspaceEdit;
        //protected IWorkspace workspace;
        //protected string environment;
        


        /// readonly
        public int IntSoluongThua
        {
            get
            {
                return intSoluongThua;
            }
        }

        public Dictionary<string, double> DblGiadatTong
        {
            get
            {
                return dblGiadatTong;
            }
            set
            {
                this.dblGiadatTong = value;
            }
        }

        public Dictionary<string, double> DblGiadat1
        {
            get
            {
                return dblGiadat1;
            }
            set
            {
                this.dblGiadat1 = value;
            }
        }

        public Dictionary<string, double> DblGiadat2
        {
            get
            {
                return dblGiadat2;
            }
            set
            {
                this.dblGiadat2 = value;
            }
        }

        public string StrKDat
        {
            get
            {
                return strKDat;
            }
        }

        public string StrDescription
        {
            get
            {
                return strDescription;
            }
        }

        public Dictionary<string, double> DblDientichTong
        {
            get
            {
                return dblDientichTong;
            }
            set
            {
                this.dblDientichTong = value;
            }
        }

        public Dictionary<string, double> DblDientich1
        {
            get
            {
                return dblDientich1;
            }
            set
            {
                this.dblDientich1 = value;
            }
        }

        public Dictionary<string, double> DblDientich2
        {
            get
            {
                return dblDientich2;
            }
            set
            {
                this.dblDientich2 = value;
            }
        }

        public string StrVitri
        {
            get
            {
                return strVitri;
            }
        }

        public Dictionary<string, int> IntSoCachtinh
        {
            get
            {
                return intSoCachtinh;
            }
        }

        public Dictionary<string, string> StrCachtinh
        {
            get
            {
                return strCachtinh;
            }
        }

        public void ShowGiadat()
        {
            throw new NotImplementedException();
        }

        public abstract void AboutMe();



        
    }
}
